package vista;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JTextField;

import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class VentNuevoRodeo extends javax.swing.JFrame {
	private JButton btnCancelar;
	private JLabel lblIdCategoria;
	private JLabel lblPeso;
	private JLabel lblPesoFinal;
	private JTextField txtIdCategoria;
	private JTextField txtPeso;
	private JTextField txtPesoFinal;
	private JButton btnBuscar;

	/**
	* Auto-generated main method to display this JFrame
	*/
		
	public VentNuevoRodeo() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			this.setTitle("Nuevo Rodeo");
			getContentPane().setLayout(null);
			{
				btnCancelar = new JButton();
				getContentPane().add(btnCancelar);
				btnCancelar.setText("Cancelar");
				btnCancelar.setBounds(192, 211, 98, 33);
				btnCancelar.addActionListener(new ActionListener() {
					public void actionPerformed(ActionEvent evt) {
						dispose();
					}
				});
			}
			{
				btnBuscar = new JButton();
				getContentPane().add(btnBuscar);
				btnBuscar.setText("Guardar");
				btnBuscar.setBounds(57, 211, 98, 33);
			}
			{
				txtPesoFinal = new JTextField();
				getContentPane().add(txtPesoFinal);
				txtPesoFinal.setBounds(173, 155, 125, 21);
			}
			{
				txtPeso = new JTextField();
				getContentPane().add(txtPeso);
				txtPeso.setBounds(173, 99, 125, 21);
			}
			{
				txtIdCategoria = new JTextField();
				getContentPane().add(txtIdCategoria);
				txtIdCategoria.setBounds(173, 42, 125, 21);
			}
			{
				lblPesoFinal = new JLabel();
				getContentPane().add(lblPesoFinal);
				lblPesoFinal.setText("Fecha");
				lblPesoFinal.setBounds(57, 155, 90, 20);
			}
			{
				lblPeso = new JLabel();
				getContentPane().add(lblPeso);
				lblPeso.setText("Raza");
				lblPeso.setBounds(57, 99, 90, 20);
			}
			{
				lblIdCategoria = new JLabel();
				getContentPane().add(lblIdCategoria);
				lblIdCategoria.setText("Tipo de categoria");
				lblIdCategoria.setBounds(57, 42, 110, 20);
			}
			pack();
			this.setSize(371,
					304);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
